# 打印一个倒三角
height = 10
for curLevel in range(0, height):
    for spaces in range(0, curLevel):
        print(" ", end="")
    for chars in range(0, 2 * height - 1 - curLevel * 2):
        print("&", end="")
    print()
